package com.jd.service;


import com.jd.bo.SubmitOrderBO;
import com.jd.pojo.Carousel;
import com.jd.pojo.OrderStatus;
import com.jd.vo.OrderVO;

import java.util.List;

/**
 * 订单业务层
 */
public interface OrderService {

    /**
     * 用于创建订单相关信息
     * @param submitOrderBO
     */
    public OrderVO createOrder(SubmitOrderBO submitOrderBO);


    /**
     * 修改订单状态
     * @param orderId
     * @param orderStatus
     */
    public void updateOrderStatus(String orderId,Integer orderStatus);


    /**
     * 查询订单状态
     * @param orderId
     * @return
     */
    OrderStatus queryOrderStatusInfo(String orderId);


    /**
     * 关闭超时未支付订单
     * @param
     * @return
     */
    public void closeOrder();
}




